//项目任务
if ($this.model === "88b3d81abfc18c0a0dffe358db029aa8") {
    for (let i = 0; i < $this.fields.length; i++) {
        if ($this.fields[i].name == 'separator_1718345134619_XSHix' || $this.fields[i].name == 'selectStr_1718345029613_IWjr8' || $this.fields[i].name == 'input_1718345101976_ZNGth') {
            //控制字段的显示状态
            $this.fields[i].isShow = true
        }

        if ($this.fields[i].name == 'separator_1756173443345_wf6lY' || $this.fields[i].name == 'selectStr_1756173477473_dxVFk' || $this.fields[i].name == 'input_1756173506324_x5wKf') {
            //控制字段的显示状态
            $this.fields[i].isShow = false
        }
    }
}
// 研发项目任务
else if ($this.model === "38ffeca8a8ef9049c03d3931c8e8d92c") {
    for (let i = 0; i < $this.fields.length; i++) {
        if ($this.fields[i].name == 'separator_1756173443345_wf6lY' || $this.fields[i].name == 'selectStr_1756173477473_dxVFk' || $this.fields[i].name == 'input_1756173506324_x5wKf') {
            //控制字段的显示状态
            $this.fields[i].isShow = true
        }

        if ($this.fields[i].name == 'separator_1718345134619_XSHix' || $this.fields[i].name == 'selectStr_1718345029613_IWjr8' || $this.fields[i].name == 'input_1718345101976_ZNGth') {
            //控制字段的显示状态
            $this.fields[i].isShow = false
        }
    }
}
//项目计划
else if($this.model === "ae7e345ca8fd76827a3590e038efb94b"){
    for (let i = 0; i < $this.fields.length; i++) {
        if($this.fields[i].name === 'input_1718345101976_ZNGth' || $this.fields[i].name === 'input_1718345101976_PBcTl'){
            $this.fields[i].isShow = true;
        }
    }
    //当任务类型为项目计划时，上级任务信息的【上级任务名称、上级任务计划时间】赋值给任务信息的【任务名称、计划时间】
    $this.formModel.input_1711439260720_6QPqX = $this.formModel.input_1711507872142_QBS6q; // 任务名称 -> 上级任务名称
    $this.formModel.rangePicker_1711439307444_Ftzhm = $this.formModel.rangePicker_1754897348453_DOtbH; // 任务名称 -> 上级任务名称
    $this.formModel.textarea_1755766219698_SuIuk = $this.formModel.rangePicker_1754897348453_DOtbH; // 任务描述 -> 上级任务描述
}
else {
    for (let i = 0; i < $this.fields.length; i++) {
        if ($this.fields[i].name == 'separator_1756173443345_wf6lY' || $this.fields[i].name == 'selectStr_1756173477473_dxVFk' || $this.fields[i].name == 'input_1756173506324_x5wKf') {
            //控制字段的显示状态
            $this.fields[i].isShow = false
        }

        if ($this.fields[i].name == 'separator_1718345134619_XSHix' || $this.fields[i].name == 'selectStr_1718345029613_IWjr8' || $this.fields[i].name == 'input_1718345101976_ZNGth') {
            //控制字段的显示状态
            $this.fields[i].isShow = false
        }
    }
}

